import VueAmisSdk from "./VueAmisSdk";

const components = [VueAmisSdk];

const install = function (Vue) {
  if (install.installed) return;
  components.map((component) => Vue.component(component.name, component));
};

if (typeof window !== "undefined" && window.Vue) {
  install(window.Vue);
}

export default {
  install,
  // amisEditor
};
